/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>
#include <cstring>
#include <string>
using namespace std;

int main_1002()
{
    char n[101]={0};
    int sum=0,len;
    string int2pinyin[]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
    scanf("%s",n);
    len=strlen(n);
    for (int i=0;i<len ;++i )
    {
        sum+=(n[i]-'0');
    }
    string strSum=to_string(sum);
    len=strSum.size()-1;
    for (int i=0;i<len ;++i )
    {
        printf("%s ",int2pinyin[strSum[i]-'0'].c_str());
    }
    printf("%s",int2pinyin[strSum[len]-'0'].c_str());
	return 0;
}
